package com.zhiyou100.video.dao.impl;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.orm.hibernate5.support.HibernateDaoSupport;

import com.zhiyou100.video.dao.AdminDao;
import com.zhiyou100.video.model.Admin;

@SuppressWarnings("all")
public class AdminDaoImpl extends HibernateDaoSupport implements AdminDao {

	
	@Override
	public List<Admin> selectlogin(DetachedCriteria dc) {
		return  (List<Admin>) getHibernateTemplate().findByCriteria(dc);
	}

	

	



}
